<cfsilent>

	<cfsetting requesttimeout="3600" />
	<cfparam name="Attributes.key" type="string" default="" />
	<cfparam name="Attributes.pw" type="string" default="" />
	
	<!--- Look for a key to delete --->	
	<cfif (Attributes.key NEQ "")>
		
		<!--- Found a key. --->
		<!--- Make sure that the password being passed in matches the password of our instance --->
		<cfset Password = Application.oFusecacheFactory.getPassword() />
		
		<cfif (Attributes.pw EQ Password)>
			
			<!--- Password matches --->
			<!--- Now retrieve and loop over the servers registered with this application --->
			<cfset ServerPool = Application.oFusecacheFactory.getServerPool() />
			<cfset UtilityCircuit = Application.oFusecacheFactory.getUtilityCircuit() />
			
			<cfloop from="1" to="#ArrayLen(ServerPool)#" index="i">
				<cfhttp url="http://#ServerPool[i]#/index.cfm" method="get" result="myResult" throwonerror="yes" timeout="120">
					<cfhttpparam type="url" name="fuseaction" value="#UtilityCircuit#.killSingleKey" />
					<cfhttpparam type="url" name="key" value="#Attributes.key#" />
					<cfhttpparam type="url" name="pw" value="#Password#" />
					<cfhttpparam type="url" name="redirectOff" value="true" />
				</cfhttp>
			</cfloop>
			
		</cfif>
	
	</cfif>

</cfsilent>




